-- card: 30088 from stack: in -- bmap block id: 0 -- flags: 0000 -- background id: 4755 -- name: -- part 1 (field) -- low flags: 00 -- high flags: 0007 -- rect: left=30 top=78 right=296 bottom=478 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 0 -- font id: 4 -- text size: 9 -- style flags: 0 -- line height: 12 -- part name: -- part 2 (button) -- low flags: 00 -- high flags: 0001 -- rect: left=13 top=29 right=57 bottom=351 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: New Button -- part contents for card part 1 ----- text ----- /* * FILE: function.test.c * AUTHOR: R.G. * CREATED: June 22, 1990 * * Program illustrating various function features. * * PROJECT CONTENTS: * function.test.c, contains.char.c, ANSI, oops libraries */ # include /* declare standard I/O functions */ int contains_char(char*,char); /* declare function in other file */ /****************************************************************** * main() function ******************************************************************/ main() { char name[80], search_char, junk; printf("Enter your name (no spaces):\n"); scanf("%s",name); scanf("%c",&junk); /* get unneeded linefeed character */ printf("Enter search character:\n"); scanf("%c",&search_char); printf("Result: %d\n",contains_char(name,search_char)); } -- part contents for background part 4 ----- text ----- File 1 of 2 demonstrating C functions: -- part contents for background part 6 ----- text ----- Example of recursion, multiple source files -- part contents for background part 7 ----- text ----- 103